package com.example.designpatterns.strategy;


/**
 * 实现类2
 */
public class DiscountsStrategy2 implements Strategy1{
    @Override
    public int discounts(int money) {
        return money -10;
    }
}
